package com.zbec.mdrs.repository.jpa;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.zbec.mdrs.entity.license.License;

public interface LicenseDao extends PagingAndSortingRepository<License, Long>{
	@Query("select t from License t order by t.id desc")
	List<License> findAllOrderByIdDesc();
}
